

<?php if (isset($_SERVER['HTTP_USER_AGENT']) && !strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) echo '<?xml version="1.0" encoding="UTF-8"?>'. "\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>"
	xml:lang="<?php echo $lang; ?>">
<head>
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
<?php if ($icon) { ?>
<link href="<?php echo $icon; ?>" rel="icon" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>"
	rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<!-- Thi Add Code -->
<script type="text/javascript"
	src="catalog/view/javascript/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="catalog/view/javascript/cufon.js"></script>
<script type="text/javascript"
	src="catalog/view/javascript/Asenine_400.font.js"></script>

<style type="text/css">
cufon {
	text-indent: 0 !important;
}

@media screen , projection {
	cufon {
		display: inline !important;
		display: inline-block !important;
		position: relative !important;
		vertical-align: middle !important;
		font-size: 1px !important;
		line-height: 1px !important;
	}
	cufon cufontext {
		display: -moz-inline-box !important;
		display: inline-block !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
		text-indent: -10000in !important;
	}
	cufon canvas {
		position: relative !important;
	}
}

@media print {
	cufon {
		padding: 0 !important;
	}
	cufon canvas {
		display: none !important;
	}
}
</style>
<script type="text/javascript">
//Cufon.replace("h1, h3, .special");
</script>
<script type="text/javascript"
	src="catalog/view/javascript/jquery.bxGallery.1.1.min.js"></script>
<script type="text/javascript"
	src="catalog/view/javascript/jquery.smartTab.js"></script>
<script type="text/javascript">
$(document).ready(function(){$('#tabs').smartTab({autoProgress: true,transitionEffect:'fade'});});
</script>
<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/default/stylesheet/stylesheet.css" />

<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/default/style-custom/stylesheet.css" />
<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/default/style-custom/960_24_col.css" />
<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/default/style-custom/smart_tab_vertical.css" />
<style type="text/css" charset="utf-8"></style>
<!-- End Add Code -->
<!--<link rel="stylesheet" type="text/css"
	href="catalog/view/theme/default/stylesheet/stylesheet.css" />-->
<?php foreach ($styles as $style) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css"
	href="<?php echo $style['href']; ?>"
	media="<?php echo $style['media']; ?>" />
<?php } ?>

<script type="text/javascript"
	src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.6.min.js"></script>
<!--<script type="text/javascript"
	src="catalog/view/javascript/jquery/tabs.js"></script>-->
<link rel="stylesheet" type="text/css"
	href="catalog/view/javascript/jquery/ui/redmond/jquery-ui-1.8.6.css" />
<link rel="stylesheet" type="text/css"
	href="catalog/view/javascript/jquery/ui/redmond/jquery.ui.tabs.css" />
	
<script type="text/javascript"
	src="catalog/view/javascript/jquery/ui/external/jquery.cookie.js"></script>
<script type="text/javascript"
	src="catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css"
	href="catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4.css"
	media="screen" />
<!--[if IE]>
<script type="text/javascript" src="catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4-iefix.js"></script>
<![endif]-->

<script type="text/javascript" src="catalog/view/javascript/common.js"></script>
<?php foreach ($scripts as $script) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie7.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />
<script type="text/javascript" src="catalog/view/javascript/DD_belatedPNG_0.0.8a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('#logo img');
</script>
<![endif]-->
<?php echo $google_analytics; ?>
</head>
<body>
<div id="bodyWrapper" class="container_24">
<div id="header">
<div id="headerShortcuts"><span class=" "> <a role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb1" href="advanced_search.php"> <span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span> <span
	class="ui-button-text">Tìm kiếm nâng cao</span> </a> </span> <script
	type="text/javascript">$("#tdb1").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span
	class=" "><a class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb2" href="<?php echo $register; ?>"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Đăng kí</span></a></span><script
	type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><span
	class=" "><a role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb3" href="checkout_shipping.php"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Giao hàng</span></a></span><script
	type="text/javascript">$("#tdb3").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script>
<a class="log_in" href="<?php echo $login; ?>">Đăng nhập</a></div>
<div class="clear"></div>
<div class="bg_black"><?php if ($logo) { ?>
<div id="storeLogo"><a href="<?php echo $home; ?>"><img
	src="<?php echo $logo; ?>" title="<?php echo $name; ?>"
	alt="<?php echo $name; ?>" /></a></div>
<?php } ?>
<div class="clear "></div>
<div class="main_menu"><a class="home active"
	href="<?php echo $home; ?>"></a> <img class="pict_1"
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" /> <span class=" "><a
	role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb4" href="<?php echo $cart; ?>"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Thanh toán</span></a></span><script
	type="text/javascript">$("#tdb4").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><img
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" class="pict_1"><span class=" "><a
	role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb5" href="products_new.php"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Có gì mới ?</span></a></span><script
	type="text/javascript">$("#tdb5").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><img
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" class="pict_1"><span class=" "><a
	role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb6" href="specials.php"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Giá đặc biệt</span></a></span><script
	type="text/javascript">$("#tdb6").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><img
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" class="pict_1"><span class=" "><a
	role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb7" href="<?php echo $account; ?>"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Tài khoản</span></a></span><script
	type="text/javascript">$("#tdb7").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><img
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" class="pict_1"><span class=" "><a
	role="button"
	class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-secondary"
	id="tdb8" href="contact_us.php"><span
	class="ui-button-icon-primary ui-icon ui-icon-triangle-1-e"></span><span
	class="ui-button-text">Liên hệ</span></a></span><script
	type="text/javascript">$("#tdb8").button({icons:{primary:"ui-icon-triangle-1-e"}}).addClass("ui-priority-secondary").parent().removeClass("tdbLink");</script><img
	src="<?php echo HTTP_IMAGE; ?>templates/bg_line.gif" class="pict_1"></div>
<script type="text/javascript">
			$('.main_menu a').each(function() {
			if((window.location.pathname == '/' && $(this).attr('href').indexOf('index.php') > -1) || window.location.href.indexOf($(this).attr('href')) > -1)  $(this).addClass('active');
			})
			</script>
<div class="clear"></div>
<div class="grid_4 pull_20">
<div class="box_curr">
<div class="title_curr">Loại tiền tệ&nbsp;:</div>
<div class="content_curr"><select name="currency"
	onchange="this.form.submit();" style="width: 100%">
	<option value="USD" selected="selected">U.S. Dollar</option>
	<option value="eur">Euro</option>
</select></div>
</div>
<div class="box_lang">
<div class="content_lang"><a href="index.php?language=en"> <img
	src="<?php echo HTTPS_IMAGE; ?>templates/English.gif" alt="English"
	title=" English" height="15" width="24" /> </a> <a
	href="index.php?language=de"> <img
	src="<?php echo HTTPS_IMAGE; ?>templates/German.gif" alt="German"
	title="German" height="15" width="24" /> </a> <a
	href="index.php?language=de"> <img
	src="<?php echo HTTPS_IMAGE; ?>templates/Espa.gif" alt="Espa"
	title="Espa" height="15" width="24" /> </a></div>
</div>
<div class="box_shopping_cart">
<div class="title_shoping_cart "><a href="<?php echo $cart;?>">Giỏ hàng</a> <br />
<span style="width: 100px; float: left;">Đang có trong giỏ:</span>
<div class=" content_shoping_cart"><a href="<?php echo $cart;?>"><span id="cart_total"><?php echo $text_items; ?></span></a>
</div>
</div>
<div class="clear"></div>
</div>
<div class="box_search">
<div class="title_search">Tìm kiếm:</div>
<div class="content_search">
<form name="quick_find" action="advanced_search_result.php" method="get">
<input name="keywords" value="Search entire store..."
	onfocus="this.value = ''"
	style="margin-left: 24px; margin-top: 2px; border: 0; background: #000; float: left; padding-left: 10px; width: 160px; height: 18px; font-size: 12px; line-height: 18px; color: #a8a8a8;"
	type="text" />
&nbsp;
<div class="img_search"><input name="search_in_description" value="1"
	type="hidden" /> <input
	src="<?php echo HTTP_IMAGE; ?>templates/search.png" alt="Quick Find"
	title=" Quick Find " type="image" /></div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
<?php if(!isset($_REQUEST["route"]) || $_REQUEST["route"]=="common/home") { ?>
<div id="tabs" class="stContainer">
<ul>
	<li><a class="  sel" href="#tabs-1"> Freedom <strong>Without<br />
	Compromise</strong><br />
	<small>NEW Samsung Series 9 Laptop</small> </a></li>
	<li><a class=" " href="#tabs-2"> It Only Does<br />
	Everything<br />
	<small>PlayStation�3 has all the good stuff</small> </a></li>
	<li><a class=" " href="#tabs-3" style="border: 0"> Music to your<br />
	<strong>EARTH</strong><br />
	<small>NEW Walkman Music Player</small> </a></li>
</ul>
<div style="display: block;" id="tabs-1"><img
	src="<?php echo HTTPS_IMAGE; ?>templates/slide_1.jpg" border="0" /> <a
	href="#" class="shop">Mua ngay !!!</a></div>
<div style="display: none;" id="tabs-2"><img
	src="<?php echo HTTPS_IMAGE; ?>templates/slide_2.jpg" border="0" /> <a
	href="#" class="shop shop_2">Mua ngay !!!</a></div>
<div style="display: none;" id="tabs-3"><img
	src="<?php echo HTTPS_IMAGE; ?>templates/slide_3.jpg" border="0" /> <a
	href="#" class="shop shop_2">Mua ngay !!!</a></div>
</div>
<?php }?>